window: Reinstate logic for should_use_csd()
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 18 Jun 2015 13:48:58 +0000 (14:48 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 18 Jun 2015 13:52:17 +0000 (14:52 +0100)
commitf043fd532dc66a7abb1d4ea57c666655330cc429
tree2624d0d013e3bcbb761f4fe75430db6e40e9f97c
parentc82ce07d8055c79871f782c3430440866170b04b
window: Reinstate logic for should_use_csd()

The old should_use_csd() function would return FALSE if the GTK_CSD
environment variable is unset; the change in commit c5e5ee67490e7e7
made it return TRUE if GTK_CSD is unset. This has a cascade effect
on the window size, which causes invalid rectangles to bubble down
to Pixman.

https://bugzilla.gnome.org/show_bug.cgi?id=751140
gtk/gtkwindow.c